package com.cysion.study.adapter

import android.content.Context
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.cysion.study.ktbox.base.BaseAdapter
import com.cysion.study.ktbox.base.BaseViewHolder
import com.cysion.study.R
import com.cysion.study.entity.CommentEntity

class ProMoneyAdapter(mEntities: MutableList<CommentEntity>, mContext: Context) :
    BaseAdapter<CommentEntity>(mEntities, mContext) {
    override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): BaseViewHolder<CommentEntity> {
        return ProMoneyHolder(
            LayoutInflater.from(mContext).inflate(R.layout.item_promoney, parent, false)
        )

    }
    class ProMoneyHolder(itemView: View) : BaseViewHolder<CommentEntity>(itemView) {
        override fun fillData(obj: CommentEntity, position: Int) {
            obj?.apply {
                //                itemView.tv_data.text=
            }
        }
    }
}